export const storage = {
  set(name, params) {
    localStorage.setItem(name, JSON.stringify(params));
  },

  get(name) {
    return JSON.parse(localStorage.getItem(name) || "{}");
  },

  remove(name) {
    localStorage.removeItem(name);
  },
};
